﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace SaunaClient.Model.Logger
{
    
    /// <summary>
    /// XML Gateway Interface that provides a XML access interface to upperlayer applications as a Facade
    /// </summary>
    /// <dates>
    /// 15/05/2011 - created by Chiaki Sato
    /// </dates>
    interface IXmlDaoGateway
    {

        /// <summary>
        /// Append a message to xml hierarchy
        /// </summary>
        /// <param name="name">element name</param>
        /// <param name="message">message text</param>
        void AppendMessage(string name, string message);

        /// <summary>
        /// Write a message into xml file
        /// </summary>
        string WriteMessage();

    }
}
